package com.edisoncgh.pojo;

import java.util.Date;

public class CommentInfo {
    private String id;

    private Integer art_id;

    private String author;

    private Date com_date;

    private String father_id;

    private String com_text;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Integer getArt_id() {
        return art_id;
    }

    public void setArt_id(Integer art_id) {
        this.art_id = art_id;
    }

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author == null ? null : author.trim();
    }

    public Date getCom_date() {
        return com_date;
    }

    public void setCom_date(Date com_date) {
        this.com_date = com_date;
    }

    public String getFather_id() {
        return father_id;
    }

    public void setFather_id(String father_id) {
        this.father_id = father_id == null ? null : father_id.trim();
    }

    public String getCom_text() {
        return com_text;
    }

    public void setCom_text(String com_text) {
        this.com_text = com_text == null ? null : com_text.trim();
    }

    @Override
    public String toString() {
        return "CommentInfo{" +
                "id='" + id + '\'' +
                ", art_id=" + art_id +
                ", author='" + author + '\'' +
                ", com_date=" + com_date +
                ", father_id='" + father_id + '\'' +
                ", com_text='" + com_text + '\'' +
                '}';
    }
}